package com.huangfu.learning.javabase.common.utils;

import java.util.UUID;

/**
 * Created with IntelliJ IDEA.
 * Author: huangfu.daohui
 * Date: 2018/7/30
 * Time: 9:59
 * Version: 1.0
 * Description:UUID生成工具类
 **/
public class UUIDUtils {

    public static String getUUID() {
        return UUID.randomUUID().toString().replaceAll("-", "");
    }

    public static void main(String[] args) {
        System.out.println(getUUID());
    }
}
